package com.ff.xyh.common.entity.complaint;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 投诉信息表
 * </p>
 *
 * @author ff
 * @since 2023-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ComplaintInfo对象", description="投诉信息表")
public class ComplaintInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "举报信息id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "举报信息")
    private Integer complaintType;

    @ApiModelProperty(value = "举报人id")
    private String userId;

    @ApiModelProperty(value = "自定义举报信息")
    private String complaintText;

    @ApiModelProperty(value = "举报内容的id， 不可与 user_id 同时重复")
    private String relatedId;

    @ApiModelProperty(value = "举报内容的类型 对应type表")
    private Integer relatedType;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreated;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "对应 complaint_status 表")
    private Integer status;


}
